<?php
$this->title = '地址列表';
?>
<body class="m-gds-adrs">
<div class="list">
<?php foreach($data as $item){?>
<table>
    <tr>
        <td><img src="/static/img/ico11.png" /></td>
        <td><p><span>收货地址</span><?= $item['detail']?></p>
            <h5><b>收货人: <?= $item['name']?></b><span><?= $item['mobile']?></span></h5>
        </td>
        <td><a href="/web/address/update?id=<?= $item['id']?>">编辑</a></td>
    </tr>
</table>
<?php }?>
</div>
<h4><a href="/web/address/create">添加新地址</a></h4>


<script>
    $(function(){

    });
</script>
</body>